cmake_minimum_required(VERSION 3.10)

project(sc_main)

set(CMAKE_BUILD_TYPE "Debug")

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ..)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ..)

include_directories($ENV{SYSTEMC_HOME}/include)
include_directories(./inc)

file(GLOB_RECURSE SOURCES "src/*.cpp")

add_executable(sc_main sc_main.cpp ${SOURCES})
target_link_libraries(sc_main $ENV{SYSTEMC_HOME}/lib-linux64/libsystemc.so)
